package com.hh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hh.entity.Optional;
import com.hh.entity.dto.OptionalCourseStudentDTO;
import com.hh.entity.dto.OptionalForResultsDTO;
import com.hh.entity.dto.OptionalInputResults;

import java.util.List;


/**
 * (Relationship11)表数据库访问层
 *
 * @author makejava
 * @since 2022-10-15 13:08:46
 */
public interface OptionalMapper extends BaseMapper<Optional> {
    public List<OptionalCourseStudentDTO> findCourseStudent(Integer courseId,String teacherId);
    public Integer updateResults(OptionalInputResults results);
    public List<OptionalForResultsDTO> findResultsList(String studentId);

}
